package 建造者模式;

public class CommonHouseBuilder extends Builder {
    private House house = new House();

    @Override
    void buildBasis() {
        house.setBasis("普通房子打地基5米就行");

    }

    @Override
    void buildWall() {
        house.setWall("普通房子墙高3米");

    }

    @Override
    void buildRoofed() {
        house.setRoofed("普通房子没围墙");

    }

    @Override
    House returHouse() {
        return house;
    }


}
